import { combineReducers } from "@reduxjs/toolkit"

import appReducer from "./app/app.store"
import configReducer from "./config/config.store"
import gameReducer from "./game/game.store"
import gameReviewReducer from "./gameReview/gameReview.store"
import globalReducer from "./global/global.store"
import tagsViewReducer from "./tagsView.store"
import userReducer from "./user/user.store"

const rootReducer = combineReducers({
	config: configReducer,
	user: userReducer,
	tagsView: tagsViewReducer,
	global: globalReducer,
	app: appReducer,
	game: gameReducer,
	gameReview: gameReviewReducer
})

export default rootReducer
